import Vue from 'vue'
import App from './App.vue'
import router from './router'
import axiosPlugin from '@/axios/axiosPlugin'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import '@/styles/index.scss' // global css
import sidebar from "@/components/sidebar";
import CKEditor from '@ckeditor/ckeditor5-vue2';

import * as echarts from 'echarts'

Vue.prototype.$echarts = echarts

Vue.config.productionTip = false
Vue.use(axiosPlugin)
Vue.use(ElementUI)
Vue.use( CKEditor );
Vue.component('sidebar', sidebar);

new Vue({
  components: {
    sidebar,
  },
  router,
  render: h => h(App)
}).$mount('#app')
// 首先创建vm
